package com.evan.webadmin.biz.dao;

import com.evan.webadmin.biz.model.ExamPaperDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;

/**
 * <p>
 * 试卷详情表 Mapper 接口
 * </p>
 *
 * @author Pavel
 * @since 2025-02-28
 */
public interface ExamPaperDetailMapper extends BaseMapper<ExamPaperDetail> {

    @Delete("DELETE FROM biz_exam_paper_detail WHERE paper_id = #{paperId}")
    void deleteByPaperId(Long paperId);
}
